#-------------------------------------------------
#
# Project created by QtCreator 2016-12-09T08:31:16
#
#-------------------------------------------------

QT       +=  websockets
QT       +=  widgets
QT       +=  xml

TARGET = EcatAcontis
TEMPLATE = lib

DEFINES += ECATACONTIS_LIBRARY
CONFIG += staticlib
DESTDIR =../../lib

LIBS += -L../../lib/actions/LIB/Linux/x64 -lEcMaster
LIBS += -L../../lib/actions/LIB/Linux/x64 -lAtemRasSrv
LIBS += -L../../lib/actions/LIB/Linux/x64 -lemllCCAT
LIBS += -L../../lib/actions/LIB/Linux/x64 -lemllI8254x
LIBS += -L../../lib/actions/LIB/Linux/x64 -lemllSockRaw

LIBS+=-lpthread -lm -ldl -lrt

SOURCES +=  \
    $$PWD/DCDemo.cpp \
    $$PWD/DCDemoMain.cpp \
    $$PWD/ecatDemoCommon.cpp \
    $$PWD/ecatNotification.cpp \
    $$PWD/EcTimer.cpp \
    $$PWD/Logging.cpp \
    $$PWD/motrotech.cpp \
    $$PWD/selectLinkLayer.cpp \
    $$PWD/ecatmasteracontis.cpp

HEADERS += \
    $$PWD/DCDemo.h \
    $$PWD/DCDemoConfig.h \
    $$PWD/ecatDemoCommon.h \
    $$PWD/ecatNotification.h \
    $$PWD/EcTimer.h \
    $$PWD/Logging.h \
    $$PWD/motrotech.h \
    $$PWD/selectLinkLayer.h \
    $$PWD/SlaveInfo.h \
    $$PWD/ecatmasteracontis.h

INCLUDEPATH += ../../include/actions/INC
INCLUDEPATH += ../../include/actions/INC/Linux
#INCLUDEPATH += ../../include/alLib
INCLUDEPATH +=../EcatCore

INCLUDEPATH += igh/
INCLUDEPATH += acontis/
INCLUDEPATH +=../CoordinateModule/
INCLUDEPATH +=../AxisObject/

INCLUDEPATH +=../ProgramSet
INCLUDEPATH +=../LogicalInstruction

INCLUDEPATH +=../EcatCore
LIBS += -L../../lib -lEcatCore
INCLUDEPATH +=../DomParser
LIBS += -L../../lib -lDomParser
INCLUDEPATH +=../Md5Check
LIBS += -L../../lib -lMd5Check
INCLUDEPATH +=../HmiGsoapQt
LIBS += -L../../lib -lHmiGsoapQt
INCLUDEPATH +=../VrepRemoteControlor
LIBS += -L../../lib -lVrepRemoteControlor
INCLUDEPATH +=../WebServer
#LIBS += -L../../lib -lWebServer
#INCLUDEPATH +=../Coordinate
#LIBS += -L../../lib -lCoordinate
INCLUDEPATH +=../PointData
#LIBS += -L../../lib -lPointData
INCLUDEPATH +=../MessageLog
LIBS += -L../../lib -lMessageLog

#LIBS += -L../../lib -lInternalSafe

#LIBS += -L../../lib -lJointDecouple
INCLUDEPATH +=../MotorInterface
#LIBS += -L../../lib -lMotorInterface

#LIBS += -L../../lib -lPalletCalculate

#LIBS += -L../../lib -lControlLoop
INCLUDEPATH +=../RegData
#LIBS += -L../../lib -lRegData

#LIBS += -L../../lib -lTrajectoryScale
INCLUDEPATH += ../../include/actions/INC
INCLUDEPATH += ../../include/ethercat-igh
INCLUDEPATH += ../../include/
INCLUDEPATH += ../../include/MacroDefine
#INCLUDEPATH += ../../include/kdl

LIBS += -L../../lib -lMotionServer

INCLUDEPATH +=../MotionServer

INCLUDEPATH +=../MotionServer/Axis/
#INCLUDEPATH +=../Axis

INCLUDEPATH +=../PowerManager
LIBS += -L../../lib -lPowerManager
INCLUDEPATH +=../MeasureTime
LIBS += -L../../lib -lMeasureTime
INCLUDEPATH +=../RobotManager
LIBS += -L../../lib -lRobotManager
INCLUDEPATH +=../RobotEngine
LIBS += -L../../lib -lRobotEngine

INCLUDEPATH += ../../include/kdl

INCLUDEPATH += ../XmlParse
LIBS += -L../../lib -lXmlParse

INCLUDEPATH +=../ModbusDevice

INCLUDEPATH += ../../include/modbus/


#编译中间文件目录
UI_DIR += ../../build/tmpBuildDirectory
MOC_DIR +=../../build/tmpBuildDirectory
OBJECTS_DIR += ../../build/tmpBuildDirectory
RCC_DIR += ../../build/tmpBuildDirectory
